home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Interfaces / Universal Interfaces 2.0a3 / Universal AIncludes / ROMDefs.a < prev    next >
Encoding:
Text File  |  1994-11-11  |  5.3 KB  |  126 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        ROMDefs.a
  3. ;
  4. ;    Copyright:    © 1984-1994 by Apple Computer, Inc.
  5. ;                All rights reserved.
  6. ;
  7. ;    Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8. ;
  9. ;    Bugs?:        If you find a problem with this file, send the file and version
  10. ;                information (from above) and the problem description to:
  11. ;
  12. ;                    Internet:    apple.bugs@applelink.apple.com
  13. ;                    AppleLink:    APPLE.BUGS
  14. ;
  15. ;
  16.  
  17.     IF &TYPE('__ROMDEFS__') = 'UNDEFINED' THEN
  18. __ROMDEFS__ SET 1
  19.  
  20.  
  21. appleFormat                        EQU        1                    ;Format of Declaration Data (IEEE will assign real value)
  22. romRevision                        EQU        1                    ;Revision of Declaration Data Format
  23. testPattern                        EQU        1519594439            ;FHeader long word test pattern
  24. sCodeRev                        EQU        2                    ;Revision of code (For sExec)
  25. sCPU68000                        EQU        1                    ;CPU type = 68000
  26. sCPU68020                        EQU        2                    ;CPU type = 68020
  27. sCPU68030                        EQU        3                    ;CPU type = 68030
  28. sCPU68040                        EQU        4                    ;CPU type = 68040
  29. sMacOS68000                        EQU        1                    ;Mac OS, CPU type = 68000
  30. sMacOS68020                        EQU        2                    ;Mac OS, CPU type = 68020
  31. sMacOS68030                        EQU        3                    ;Mac OS, CPU type = 68030
  32. sMacOS68040                        EQU        4                    ;Mac OS, CPU type = 68040
  33. board                            EQU        0                    ;Board sResource - Required on all boards
  34. displayVideoAppleTFB            EQU        16843009            ;Video with Apple parameters for TFB card.
  35. displayVideoAppleGM                EQU        16843010            ;Video with Apple parameters for GM card.
  36. networkEtherNetApple3Com        EQU        33620225            ;Ethernet with apple parameters for 3-Comm card.
  37. testSimpleAppleAny                EQU        -2147417856            ;A simple test sResource.
  38. endOfList                        EQU        255                    ;End of list
  39. defaultTO                        EQU        100                    ;100 retries.
  40.  
  41. sRsrcType                        EQU        1                    ;Type of sResource
  42. sRsrcName                        EQU        2                    ;Name of sResource
  43. sRsrcIcon                        EQU        3                    ;Icon
  44. sRsrcDrvrDir                    EQU        4                    ;Driver directory
  45. sRsrcLoadDir                    EQU        5                    ;Load directory
  46. sRsrcBootRec                    EQU        6                    ;sBoot record
  47. sRsrcFlags                        EQU        7                    ;sResource Flags
  48. sRsrcHWDevId                    EQU        8                    ;Hardware Device Id
  49. minorBaseOS                        EQU        10                    ;Offset to base of sResource in minor space.
  50. minorLength                        EQU        11                    ;Length of sResource’s address space in standard slot space.
  51. majorBaseOS                        EQU        12                    ;Offset to base of sResource in Major space.
  52. majorLength                        EQU        13                    ;Length of sResource in super slot space.
  53. sRsrccicn                        EQU        15                    ;Color icon
  54. sRsrcicl8                        EQU        16                    ;8-bit (indexed) icon
  55. sRsrcicl4                        EQU        17                    ;4-bit (indexed) icon
  56. sDRVRDir                        EQU        16                    ;sDriver directory
  57. sGammaDir                        EQU        64                    ;sGamma directory
  58. sRsrcVidNames                    EQU        65                    ;Video mode name directory
  59. sRsrcDock                        EQU        80                    ;spID for Docking Handlers
  60. sDiagRec                        EQU        85                    ;spID for board diagnostics
  61. sVidAuxParams                    EQU        123                    ;more video info for Display Manager -- timing information
  62. sDebugger                        EQU        124                    ;DatLstEntry for debuggers indicating video anamolies
  63. sVidAttributes                    EQU        125                    ;video attributes data field (optional,word)
  64. fLCDScreen                        EQU        0                    ; bit 0 - when set is LCD, else is CRT
  65. fBuiltInDisplay                    EQU        1                    ;      1 - when set is built-in (in the box) display, else not
  66. fDefaultColor                    EQU        2                    ;      2 - when set display prefers multi-bit color, else gray
  67. fActiveBlack                    EQU        3                    ;      3 - when set black on display must be written, else display is naturally black
  68. fBuiltInDetach                    EQU        4                    ;      4 - when set is built-in (in the box), but detaches
  69. sVidParmDir                        EQU        126
  70. sSuperDir                        EQU        254
  71.  
  72. ; =======================================================================    
  73. ; sResource types                                                            
  74. ; =======================================================================    
  75. catBoard                        EQU        1                    ;Category for board types.
  76. catTest                            EQU        2                    ;Category for test types -- not used much.
  77. catDisplay                        EQU        3                    ;Category for display (video) cards.
  78. catNetwork                        EQU        4                    ;Category for Networking cards.
  79. catCPU                            EQU        $000A
  80. catProto                        EQU        $0011
  81. catDock                            EQU        $0020
  82. ;<Type>
  83. typeBoard                        EQU        $0000
  84. typeApple                        EQU        $0001
  85. typeVideo                        EQU        $0001
  86. typeEtherNet                    EQU        $0001
  87. typeStation                        EQU        $0001
  88. typeDesk                        EQU        $0002
  89. typeDebugger                    EQU        $0100
  90. type68000                        EQU        $0002
  91. type68020                        EQU        $0003
  92. type68030                        EQU        $0004
  93. type68040                        EQU        $0005
  94. typeAppleII                        EQU        $0015
  95. ;Driver Interface : <id.SW>
  96. drSwMacCPU                        EQU        0
  97. drSwAppleIIe                    EQU        $0001
  98. drSwApple                        EQU        1                    ;To ask for or define an Apple-compatible SW device.
  99. drSwMacsBug                        EQU        $0104
  100. ;Driver Interface : <id.SW><id.HW>
  101. drHwTFB                            EQU        1                    ;HW ID for the TFB (original Mac II) video card.
  102. drHw3Com                        EQU        1                    ;HW ID for the Apple EtherTalk card.
  103. drHwBSC                            EQU        3
  104. drHwGemini                        EQU        1
  105. drHwDeskBar                        EQU        1
  106. drHwBootBug                        EQU        $0100
  107. boardId                            EQU        32                    ;Board Id
  108. pRAMInitData                    EQU        33                    ;sPRAM init data
  109. primaryInit                        EQU        34                    ;Primary init record
  110. timeOutConst                    EQU        35                    ;Time out constant
  111. vendorInfo                        EQU        36                    ;Vendor information List. See Vendor List, below
  112. boardFlags                        EQU        37                    ;Board Flags
  113. secondaryInit                    EQU        38                    ;Secondary init record/code
  114. vendorId                        EQU        1                    ;Vendor Id
  115. serialNum                        EQU        2                    ;Serial number
  116. revLevel                        EQU        3                    ;Revision level
  117. partNum                            EQU        4                    ;Part number
  118. date                            EQU        5                    ;Last revision date of the card
  119.  
  120. testByte                        EQU        32                    ;Test byte.
  121. testWord                        EQU        33                    ;0021
  122. testLong                        EQU        34                    ;Test Long.
  123. testString                        EQU        35                    ;Test String.
  124.  
  125.     ENDIF ; __ROMDEFS__
  126.